package oms.service;

import java.util.List;
import oms.entities.User;

public interface UserService {
	
	public void createUser(User user);

	public void updateUser(User user);
	
	public void deleteUser(Long userId);
		
	public User getUserById(Long userId);
	 
	public User getUserByLogin(String userLogin);
	 
	public User getUserByMail(String userMail);
	
	public List<User> getAllUsers(int index, int size);
     
	public List<User> findUser(String field, String value, String match, int index, int size);
     
	public Integer getCount();
     
}
